package service;

import dao.AnimalCategoryDao;
import entity.AnimalCategory;

import java.util.List;

public class AnimalCategoryService {

    private static AnimalCategoryDao animalCategoryDAO = new AnimalCategoryDao();


    //获取所有分类
    public List<AnimalCategory> getAllAnimalCategories() {
        return animalCategoryDAO.getAllAnimalCategories();

    }
}
